
<ul class="nav nav-list ">
  <li <*if $action=='index'*>class="active"<*/if*>>
  <a href="/<*$controller*>/index"><i class="icon-chevron-right"></i> 全部</a>
  </li>
 <*foreach from=$result item=a key =key name=foo*>
  <li <*if $a.groupid==$groupid*>class="active"<*/if*>>
  <a href="/<*$controller*>/account/id/<*$a.groupid*>"><i class="icon-chevron-right"></i> <*$a.groupname*></a>
  </li>
  <*/foreach*> 
</ul>
 